package cn.iocoder.yudao.module.trade.order.vo;

import cn.iocoder.yudao.framework.validation.ChineseName;
import cn.iocoder.yudao.framework.validation.PhoneNumber;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 派单配送 Request VO")
@Data
public class TradeOrderDistributeReqVO {

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "订单编号不能为空")
    private Long id;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "羡民")
    @NotEmpty(message = "姓名不能为空")
    @ChineseName
    private String contactName;

    @Schema(description = "电话", requiredMode = Schema.RequiredMode.REQUIRED, example = "15285116029")
    @NotEmpty(message = "电话不能为空")
    @PhoneNumber
    private String contactMobile;

}
